package com.hoshiicloud.withdraw.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "用户签约平台,默认工猫", description = "用户签约平台,默认工猫")
public class ContractPlatformParam implements Serializable {


	@ApiModelProperty(value = "姓名")
	@NotNull(message = "姓名不能为空")
	private String name;

	@ApiModelProperty(value = "手机号")
	@NotNull(message = "手机号不能为空")
	private String mobile;

	@ApiModelProperty(value = "身份证号码")
	@NotNull(message = "身份证号码不能为空")
	private String idNumber;

	@ApiModelProperty(value = "证件类型 1:身份证")
	private String certificateType = "1";

	@ApiModelProperty(value = "银行卡号/支付宝账户")
	@NotNull(message = "银行卡号不能为空")
	private String bankNum;

	@ApiModelProperty(value = "附言参数")
	private String extraParam;

}